/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import cn.webrx.mapper.DbMapper;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * <p>Project: mp2022 - MyDemo
 * <p>Powered by webrx On 2022-04-15 17:46:36
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@SpringBootTest(classes = App.class)
@Slf4j
public class MyDemo {
    // @Autowired
    //ApplicationContext ctx;
    @Autowired
    DbMapper dm;

    @Test
    void m() {
        //log.info("{}",dm.dbInfo());
        System.out.println(dm.tbs());
    }
}
